<div class="row">


	<div class="col-md-12">
		<div class="page-header">
			<h1>Form add user</h1>
		</div>
		
				 <?php echo form_open("admin_khmerhr/addUsers",'class="form-horizontal"');?>
				 	<div class="form-group no_margin_button">
						<div class="col-sm-6">
							 <label for="inputEmail3" class="control-label no-padding-right">Company Name <span class="red_8">*</span></label>
						</div>
					</div>
					<div class="form-group no_margin_button">
						
						<div class="col-sm-6">
						<?php echo form_input('companyName','','class="form-control  input-sm " placeholder="Company Name"'); ?>
					    </div>
					</div>
					<div class="form-group no_margin_button">
						<div class="col-sm-6">
							 <label for="inputEmail3" class="control-label no-padding-right">Type Of Company <span class="red_8">*</span></label>
						</div>
					</div>

				 	<div class="form-group">
					    
					    <div class="col-sm-6">
					    <?php echo form_input('contactPerson','','class="form-control  input-sm " placeholder="Contact Person"'); ?>
					    </div>
					</div>
					<div class="form-group no_margin_button">
						<div class="col-sm-6">
							<label for="inputEmail3" class="control-label no-padding-right">Address<span class="red_8">*</span> </label>
						</div>
					</div>
					<div class="form-group no_margin_button">
					    
					    <div class="col-sm-6">
					    <?php echo form_textarea('address','','class="form-control  input-sm " placeholder="Address"'); ?>
							 <span><?php echo form_error("address"); ?></span>
						</div>
					    
					</div>
				 	<div class="form-group no_margin_button">
						<div class="col-sm-6">
							 <label for="inputEmail3" class="control-label no-padding-right">Contact Person <span class="red_8">*</span></label>
						</div>
					</div>

				 	<div class="form-group">
					    
					    <div class="col-sm-6">
					    <?php echo form_input('contactPerson','','class="form-control  input-sm " placeholder="Contact Person"'); ?>
					    </div>
					</div>

					<div class="form-group no_margin_button">
						<div class="col-sm-6">
							 <label for="inputEmail3" class="control-label no-padding-right">Contact Number <span class="red_8">*</span></label>
						</div>
					</div>
					<div class="form-group no_margin_button">
					   
					   	<div class="col-sm-6">
					   	<?php echo form_input('phone','','class="form-control  input-sm " placeholder="Phone"'); ?>
					    </div>
					</div>

					<div class="form-group no_margin_button">
						<div class="col-sm-6">
							<label for="inputEmail3" class="control-label no-padding-right">Contact Email<span class="red_8">*</span> </label>
						</div>
					</div>
					<div class="form-group no_margin_button">
					    
					    <div class="col-sm-6">
					    <?php echo form_input('email','','class="form-control  input-sm " placeholder="E-mail"'); ?>
							 <span><?php echo form_error("email"); ?></span>
						</div>
					    
					</div>











					<div class="form-group no_margin_button">
				 		<div class="col-sm-3">
				 			 <label for="firstName" class="control-label no-padding-right"> Name<span class="red_8">*</span> </label>
				 		</div>
				 	</div>
					<div class="form-group no_margin_button">
					   
					    <div class="col-sm-3">
					    <?php echo form_input('firstName','','class="form-control  input-sm " placeholder="First Name"'); ?>
					  	<span>
					  		<?php echo form_error("firstName"); ?>
					  	</span>
					   </div>
					   
					    <div class="col-sm-3">
					    <?php echo form_input('lastName','','class="form-control col-xs-5 col-sm-5" placeholder="Last Name"'); ?>
						<?php echo form_error("lastName"); ?>
						</div>
					</div>
					
					<?php 

						$group_type = getUserType()->result();
					$arr_group_type = array(""=>"--Select Position--");
					foreach($group_type as $arr_type){
						$arr_group_type[$arr_type->id] = $arr_type->name;
					}
					?>
					<div class="form-group no_margin_button">
						<div class="col-sm-6">
							 <label for="posistion" class="control-label no-padding-right">Type<span class="red_8">*</span> </label>
						</div>
					</div>
					<div class="form-group no_margin_button">
					   
					   	<div class="col-sm-6">
					     <?php  echo form_dropdown('type',$arr_group_type,'','class="form-control sort_input input-sm"');  ?>
					    <span><?php echo form_error("type"); ?></span>
					    </div>
					</div>
					
					
					
					
					
					
					<div class="form-group">
						<div class="col-sm-6">
					    <?php echo form_submit('submit','Save','class="btn btn-default" placeholder="Contact Person"'); ?>
					    </div>
					</div>
				</form>
			
	</div>
</div>
